home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
081
/
badusr12.arc
/
BADUSER.DOC
< prev
next >
Wrap
Text File
|
1987-07-13
|
8KB
|
253 lines
BADUSER
v1.20
Copyright(c) 1987 by Greg Dawson
ShutterBUG (106/111)
(713)880-4329
---------------------------------------------------------------
INTRODUCTION...
---------------------------------------------------------------
I was inspired (or forced) into writing this simple program due
the bombardments of one persistant little dweeb. As a former
RBBS sysop, I missed the one feature that checked a users name
against the contents of a file called "TRASHCAN.". Need I say
more? So here it is, a small, but useful program that filters
out all those #$%@!% that slither their way into our peaceful
environment. (Ahheemm)
----------------------------------------------------------------
COMMAND USAGE (Don't skip this part)...
----------------------------------------------------------------
The command line syntax is as follows...
BADUSER -b -o -p -c -l -d -s
-b <== Turns on the alarm.
-o <== Path and file to display if the user is Ok.
-p <== Path to the BADUSER support files.
-c <== Control character(s) to display if user Ok.
-l <== Enable last user display.
-d1 <== Lower/Raise DTR to drop user (Port 1 or 2).
-s <== Sysops name.
A typical command line might go as follows...
BADUSER -d1 -b -l -sGreg Dawson -oC:\opus\misc\welcome2 -pC:\opus\
----------------------------------------------------------------
THE SUPPORT FILES (Don't skip this either)...
----------------------------------------------------------------
Here's a list what you should of recieved in "BADUSR12.ARC".
WELCOME .BBS A sample OPUS welcome file.
WELCOMEB.??? A sample welcome file chained by BADUSER.
BADUSER .COM The Command file.
BADUSER .DAT The "Trashcan" file, if you may.
BADUSER .DOC The Documentation.
BAD .BAT The Batch file to invoke BADUSER.COM
README For a quick installation.
----------------------------------------------------------------
WELCOME.BBS
------------
This file is the critical link between BADUSER and the outside
world. You may modify it to your needs, but it should contain all
of the following commands, in this order...
^B <= Disable ^C or ^K aborting.
^OC\OPUS\MISC\BAD <= Invoke the BAD.BAT file.
^OS\OPUS\MISC\BADUSER <= Display the .BBS or .GBS file.
WELCOMEB.BBS and .GBS
---------------------
These are sample welcome files. Modify them accordingly.
BADUSER.DAT
-----------
All the entries must be followed by a "," after the word.
Example...
Destructor, <= Is a valid name.
Destructor <= Is not valid due to the lack of ",".
Important: Leave a blank line at the end of the file.
BADUSER.DOC
-----------
Your reading it.
BADUSER.BBS or .GBS
-------------------
This is a file BADUSER.COM creates with the information that
determines fate of the user. If the user is ok, it will contain
the command to chain whatever file you want to. If the user didn't
pass (and you don't have the -d switch on), the prompt "Access Denied"
followed by a mysterious loss of the carrier will result. If the -d
switch is on, the DTR will be instantly dropped, along with the
'Baduser'.
You definately don't have to worry about this file.
LASTUSER.DAT
------------
If you choose to display who last used the system (-l option),
this file will contain such information. Use the -s option to
exclude a specific name (sysop) from being recorded. By doing
this, nobody will ever see your name as being the last user.
One more thing, when using this option for the first time, log
on with a name other than your own. By doing this you'll write
that name to LASTUSER.DAT, otherwise no name will be written until
someone calls for the first time. Meaning, that first caller
otherwise will not get a "... was the previous caller".
I don't really know how to explain it other than that, so to
put it simply, don't worry about it. After that initial caller,
you'll be A-Ok.
---------------------------------------------------------------
INSTALLING IT...
---------------------------------------------------------------
Here's what to do:
1. Rename your WELCOME.??? files to WELCOME2.???.
2. UnARC everything contained in BADUSR12.ARC into your
\OPUS\MISC\ directory.
3. Edit BAD.BAT to your name after the "-s" switch.
4. Log on with a name other than your own to initialize
the LASTUSER.DAT file.
That's it!
COMBINATIONS...
---------------
There's a few combinations of welcome files in OPUS, i.e.
Newuser1, Newuser2, and Rookie. You'll have to experiment with
these yourself. The configuration discussed above uses only
the opus .CTL file command "Uses welcome".
----------------------------------------------------------------
A WORD ABOUT v1.20...
----------------------------------------------------------------
In previous version of the program, you were required to post
the users name to an answer file. This is no longer nesessary.
BADUSER will get all of it's info from a file called LASTUSER.BBS,
which is created by Opus in it's root directory every time a user
goes outside.
The -l option will enable diplaying of the last user, along with
a freindly greeting (I.E. "Good morning..."). Use the -s option
to exclude your name from being the last user. There's been some
work done to properly format the users city/state. For example,
the program will take "houston,tx" and turn it into "Houston, TX".
No big deal, it just *looks* better.
The -d option will lower and raise the DTR to drop the user, it's
a more assured way of getting the job done. Otherwise the command
^F^N in BADUSER.BBS and .GBS files will do the work.
A new style "wooping" alarm was added. This uses BASIC's SOUND
statements and might not give the desired effect on some
compatables.
Oh yea, all the "/" switches are now "-".
---------------------------------------------------------------
A WORD OF MEMORY...
---------------------------------------------------------------
Since BADUSER is written in compiled BASIC, it's a little bit of
a memory hog. When running DoubleDOS, I find that 280K seems to
be plenty for Opus (v0.00) and BADUSER.
---------------------------------------------------------------
IMPORTANT NOTICE...
---------------------------------------------------------------
This program is strictly public domain. You may not accept any
form of payment for it, private, commercial or otherwise. Feel
free to post this software on any bulletin board system. The
program is distributed "as is". The author shall not be liable
for any damage caused by this program. You should only run this
software upon the agreement of all of the above items.